html {
    font-size: 16px;
    font-family: Helvetica, 'Hiragino Sans GB', 'Microsoft Yahei', '微软雅黑', Arial, sans-serif;
}

/* tooltip */
.jqr-tooltip {
    font-size: 14px;
    font-weight: normal;
    color: #000;
    padding: 3px 6px;
    background-color: #e6e6e6;
    border: 1px solid #eeeeee;
    border-radius: 5px;
    position: absolute;
    z-index: 999;
}

.jqr-tooltip:after {
    content: '';
    display: inline-block;
    position: absolute;
}

.jqr-tooltip-right {
    left: 120%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.jqr-tooltip-right:after {
    border-right: 8px solid #e6e6e6;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    right: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.jqr-tooltip-left {
    right: 120%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.jqr-tooltip-left:after {
    border-left: 8px solid #e6e6e6;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    left: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.jqr-tooltip-top {
    bottom: 140%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);;
}
.jqr-tooltip-top:after {
    border-top: 8px solid #e6e6e6;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.jqr-tooltip-bottom {
    top: 140%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}
.jqr-tooltip-bottom:after {
    border-bottom: 8px solid #e6e6e6;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    bottom: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}


/*dropdown*/
.jqr-dropdown {
    position: relative;
}
[data-toggle="jqr-dropdown"]{
    position: relative;
    cursor: pointer;
}
[data-toggle="jqr-dropdown"]:after {
    content: '';

    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);

    display: inline-block;
    border-top: 5px solid #000;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.jqr-dropdown-menu {
    position: absolute;
    top: 100%;

    width: 100%;
    margin: 3px 0 10px;
    padding: 0;
    font: 14px/30px '微软雅黑';
    text-indent: 2em;
    list-style: none;

    border: 1px solid #e6e6e6;
    border-radius: 5px;
    box-shadow: 0 6px 12px #e6e6e6;
    background-color: #ffffff;

    display: none;
    z-index: 12;
}

.jqr-dropdown-menu li:hover{
    background-color: #e6e6e6;
    cursor: pointer;
}


/*dialog*/
.dialog {
    position: fixed;
    top: 40%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    width: 35rem;
    height: 20rem;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 0 4px 1px #eeeeee;

    z-index: 15;
    display: none;

    -webkit-animation:1s ease dialogMI;
    -o-animation:1s ease dialogMI;
    animation: .7s ease dialogMI;
}

@keyframes dialogMI {
    0% {
        opacity: 0;
        top: -40%;
    }
    100% {
        opacity: 1;
        top: 40%;
    }
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: .6;
    z-index: 9;
}

.dialog-header {
    height: 2.5em;
    line-height: 2.5em;
    font-size: 1.2em;
    font-weight: bold;
    padding: 0 1em;
    border-bottom: 2px solid #e6e6e6;
}

.dialog-body {
    padding: 1em;
    border-bottom: 2px solid #e6e6e6;

    position: absolute;
    top: 2.5em;
    bottom: 3em;
    left: 0;
    right: 0;
}

.dialog-footer {
    position: absolute;
    bottom: 0;
    right: 0;
}

.dialog-footer .button{
    padding: .4em 1em;
    background-color: #337ab7;
    color: #ffffff;
    border: 1px solid #337ab7;
    border-radius: 3px;
    float: left;
    margin: .15em 1em;
    cursor: pointer;
}



/*pagination*/
.jqr-pagination ul{
    border-radius: 5px;
    list-style: none;
    overflow: hidden;
    padding: 0 !important;
}

.jqr-pagination li {
    float: left;
    padding: .4em .8em;
    border: 1px solid #e3e3e3;
    color: #337ab7;
    cursor: pointer;
}

.jqr-pagination .active {
    color: #ffffff;
    background-color: #337ab7;
}

.jqr-pagination li:hover {
    background-color: #e6e6e6;
}

.jqr-pagination .info {
    background-color: #ffffff;
    color: gray;
    cursor: default;
}

.jqr-pagination .info:hover {
    background-color: #ffffff;
}



/*calender*/
.calender_wrap {
    position: relative;
}

[data-toggle="jqr-calender"] {
    color: #d43f3a;
    cursor: text;
}

.calender {
    width: 255px;
    background-color: #ffffff;
    border: 1px solid gray;
    border-radius: 5px;
    text-align: center;
    position: absolute;
    top: 35px;
    z-index: 12;
}

.calender .title {
    width: 100%;
    height: 35px;
    line-height: 35px;
    padding: 3px 0 3px 0;
    display: inline-block;
}

.calender span {
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    display: inline-block;
}

.calender span:hover {
    font-weight: bold;
    background-color: #e6e6e6;
    cursor: pointer;
}

.calender .last_month,
.last_year,
.next_month,
.next_year {
    width: 13%;
}

.calender .year,
.month {
    width: 20%;
}

.calender table {
    border: 1px solid #fff;
    padding: 3px;
    margin: 0 auto;
}

.calender th, td {
    width: 35px;
    height: 29px;
    text-align: center;
    border: 1px solid #ffffff;
}

.calender td {
    cursor: pointer;
    background-color: #ffffff;
}

.calender td.hover:hover{
    background-color: gray;
}

.calender td.active {
    color: #ffffff;
    background-color: #337ab7;
}

.calender td.active:hover {
    background-color: #337ab7;
}

.calender td.limited {
    color: #a0a0a0;
    background: none;
    cursor: not-allowed;
}



/*carousel*/
.jqr-carousel {
    width: 50rem;
    height: 28.5rem;
    padding: 0;
    background-color: rosybrown;
    position: relative;
    overflow: hidden;
}

.jqr-carousel .before {
    font-size: 20px;
    padding: 20px 10px;
    background-color: #eeeeee;
    opacity: .6;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 12;
    cursor: pointer;
    display: none;
}
.jqr-carousel .after {
    font-size: 20px;
    padding: 20px 10px;
    background-color: #eeeeee;
    opacity: .6;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 12;
    cursor: pointer;
    display: none;
}

.jqr-carousel .items {
    padding: 0;
    list-style: none;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
}

.jqr-carousel .items img {
    position: relative;
    left: 0;
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

.jqr-carousel .pages {
    position: absolute;
    bottom: 5%;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.jqr-carousel .pages li {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #ffffff;
    background-color: #000;
    text-align: center;
    margin: 0 3px;
}

.jqr-carousel .pages .active {
    background-color: #d43f3a;
}


@media all and (max-width: 800px) {
    html {
        font-size: 9px;
    }

    .dialog {
        width: 25rem;
        height: 20rem;
    }

    .jqr-pagination li {
        padding: .1rem .5rem;
    }

    .jqr-carousel {
        width: 30rem;
        height: 20rem;
    }

    .jqr-carousel .pages {
        top: 85%;
    }
}













